﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;
using System.Collections;
using System.Text.RegularExpressions;

namespace Linkmeme
{
    public enum SourceType
    {
        photo,
        blog,
        bookmarking,
        status
    }

    public class GroupItemData<T>
    {
        public string GroupKey { get; set; }
        public string GroupType { get; set; }
        public List<T> Items { get; set; }
    }

    public class UserSelectedProvider
    {
        public int ID { get; set; }
        public int ProviderID { get; set; }
        public string ProviderName { get; set; }
        public string ProviderUserName { get; set; }
        public string ProviderType { get; set; }
    }

    #region Source Classes
    public class SourceBase
    {
        public string UserName { get; set; }
        public string ProviderName { get; set; }
        public string Title { get; set; }
        public string Link { get; set; }
        public DateTime PubDate { get; set; }
        public string Tags { get; set; }
        public string Type { get; set; }
    }

    public class Picture : SourceBase
    {
        public string Url { get; set; }
        public int Width { get; set; }
        public int Height { get; set; }
        
    }

    public class Bookmark : SourceBase
    {
        public string Description { get; set; }
    }

    public class Blog : SourceBase
    {
        public string Author { get; set; }
        public string Description { get; set; }
    }

    public class Status : SourceBase
    {
        public string Description { get; set; }
    }
    #endregion


   



}
